﻿<div id="upload">
    @using (Ajax.BeginForm("Index", "Upload", new AjaxOptions() { HttpMethod = "POST", UpdateTargetId = "upload" }, new { enctype = "multipart/form-data" }))
    {
        <input type="file" name="file" />
        <input type="submit" name="submit" value="Upload" />
    }
</div>
